<template>
  <header class="el-header" :style="{ height }">
    <slot></slot>
  </header>
</template>
<script lang="ts">
export default {
  name: 'ElHeader'
}
</script>
<script setup lang="ts">
import { withDefaults } from 'vue'
// defineOptions({
//   name: 'ElHeader',
//   inheritAttrs: false
// })
interface Props {
  height?: string
}

withDefaults(defineProps<Props>(), { height: '60px' })
</script>

<style lang="scss" scoped>
@import '../../styles/mixin';

@include b(header) {
  box-sizing: border-box;
  flex-shrink: 0;
  padding: $--header-padding;
}
</style>
